<?php

namespace app\console\controller;

use think\facade\Request;
use think\facade\Session;
use think\Controller;

/**
 *状态修改基类
 * */
class Bloom extends Controller
{

    protected $request;

    public function __construct()
    {
        parent::__construct();
        $this->request = Request::instance();
        Session::has('consoler', 'console') == false && $this->error('非法请求');
    }


}
